package com.kyub.buganville

class Product {

    def String name
    def String description
    def Date dateCreated

    static hasMany = [artifacts:Artifact]

    static constraints = {

      name(size:5..155,blank:false)
      description(size:5..500,blank:false)

    }
}
